﻿<%@ Page Language="C#" MasterPageFile="~/ProductManager/ProductManage.Master" AutoEventWireup="true" CodeFile="AddProducts.aspx.cs" Inherits="GoShopping.Web.ProductManager.AddProducts" Title="无标题页" %>
<%@ Register assembly="GoShopping.Components" namespace="BaseText" tagprefix="cc1" %>
<%@ Register assembly="ExtensionGridView" namespace="ExtensionControls" tagprefix="cc2" %>
<%@ Register src="../UserControls/ImageUpload.ascx" tagname="ImageUpload" tagprefix="uc1" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="frr" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style1">
    <tr style="background-color:Gray">
        <td>
            <asp:Label ID="lblProductBasic" runat="server" >商品基本信息</asp:Label>
        </td>
    </tr>
    </table>    
    
    <table cellspacing="0" cellspacing="0" class="style1" style="width:800px" border="0" 
            cellpadding="0">
    <tr>
        <td rowspan="8" class="style5" style="width: 10px">
            &nbsp;</td>
        <td class="style4" rowspan="8" style="width: 250px">
        <div id="pic" runat="server" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);height:200px; width:330px; display:none"></div>
        <asp:Image ID="imgPrdt" runat="server" AlternateText="请上传图片" style="height:200px; width:330px" />
        </td>
        <td style="height: 25px; width: 150px;">
            <asp:Label ID="Label1" runat="server" Text="商品名称"></asp:Label>
        </td>
        <td style="height: 25px; width: 380px;">
            <cc1:ZLTextBox ID="zlTxtPrdtName" runat="server" CausesValidation="True"></cc1:ZLTextBox>
            <input id="hidPrdtId"  runat="server" type="hidden" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="zlTxtPrdtName" Display="Dynamic" ErrorMessage="*">没有输入</asp:RequiredFieldValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            进货价:</td>
        <td style="height: 25px; width: 380px;">
            <asp:Label ID="lblInPrice" runat="server" Text="无"></asp:Label>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            市场价:</td>
        <td style="height: 25px; width: 380px;">
            <cc1:ZLTextBox ID="txtMarketPrice" runat="server" InputType="varchars"></cc1:ZLTextBox>
            <asp:RangeValidator ID="RangeValidator2" runat="server" 
                ErrorMessage="RangeValidator" Type="Double" 
                ControlToValidate="txtMarketPrice" MinimumValue="0" Display="Dynamic" 
                MaximumValue="1000000">不能小于0</asp:RangeValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            销售价:</td>
        <td style="height: 25px; width: 380px;">
            <cc1:ZLTextBox ID="txtSaledPrice" runat="server" InputType="varchars"></cc1:ZLTextBox>
            <asp:RangeValidator ID="RangeValidator3" runat="server" 
                ErrorMessage="RangeValidator" MinimumValue="0" Type="Double" 
                ControlToValidate="txtSaledPrice" Display="Dynamic" MaximumValue="1000000">不能小于0</asp:RangeValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            <asp:Label ID="Label16" runat="server" Text="标签"></asp:Label>
        </td>
        <td style="height: 25px; width: 380px;">
            <asp:DropDownList ID="ddlTag" runat="server" Height="22px" Width="128px">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="ddlTag" ErrorMessage="RequiredFieldValidator" 
                InitialValue="--请选择--">请选择一个标签</asp:RequiredFieldValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            <asp:Label ID="Label2" runat="server" Text="品牌"></asp:Label>
        </td>
        <td style="height: 25px; width: 380px;">
            <asp:DropDownList ID="ddlBrand" runat="server" Height="22px" Width="128px">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="ddlBrand" ErrorMessage="RequiredFieldValidator" 
                InitialValue="--请选择--">请选择一个品牌</asp:RequiredFieldValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            <asp:Label ID="Label3" runat="server" Text="分类"></asp:Label>
        </td>
        <td style="height: 25px; width: 380px;">
            <asp:DropDownList ID="ddlType" runat="server" AutoPostBack="True" Width="128px">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="ddlType" ErrorMessage="RequiredFieldValidator" 
                InitialValue="-1">请选择一个分类</asp:RequiredFieldValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="height: 25px; width: 150px;">
            <asp:Label ID="Label4" runat="server" Text="库存初始值"></asp:Label>
        </td>
        <td style="height: 25px; width: 380px;">
            <cc1:ZLTextBox ID="zlTxtCount" runat="server" InputType="number">0</cc1:ZLTextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="zlTxtCount" ErrorMessage="*" Display="Dynamic">没有输入</asp:RequiredFieldValidator>
            <asp:RangeValidator ID="RangeValidator1" runat="server" 
                ControlToValidate="zlTxtCount" Display="Dynamic" ErrorMessage="RangeValidator" 
                MinimumValue="0" Type="Integer" MaximumValue="10000000">不能小于0</asp:RangeValidator>
        </td>
        <td style="height: 25px; width: 10px;">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style5" style="width: 10px">
            &nbsp;</td>
        <td class="style4" style="width: 250px">
            <asp:FileUpload ID="FileUpload1" runat="server" onchange="setImageMain(this)" />
        </td>
        <td class="style4" style="width: 150px">
            <asp:Label ID="Label5" runat="server" Text="上架?"></asp:Label>
        </td>
        <td style="width: 380px">
            <asp:RadioButton ID="rdbtnYes" runat="server" GroupName="rdBtn" Text="是" />
            <asp:RadioButton ID="rdbtnNo" runat="server" GroupName="rdBtn" Text="否" />
        </td>
        <td style="width: 10px">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style5" style="width: 10px">
            &nbsp;</td>
        <td class="style4" style="width: 250px">
            <%--<asp:Button ID="btnMorePics" runat="server" onclick="btnMorePics_Click" 
                Text="上传更多图片" />--%>
        </td>
        <td class="style4" style="width: 150px">
            <asp:Label ID="Label7" runat="server" Text="商品编号"></asp:Label>
        </td>
        <td style="width: 380px">
            <cc1:ZLTextBox ID="txtPCode" runat="server" />    
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                ControlToValidate="txtPCode" ErrorMessage="RequiredFieldValidator">请输入一个编号</asp:RequiredFieldValidator>
        </td>
        <td style="width: 10px">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style5" style="width: 10px">
            &nbsp;</td>
        <td class="style4" style="width: 250px">
            &nbsp;</td>
        <td class="style4" style="width: 150px">
            <asp:Label ID="Label8" runat="server" Text="供货商"></asp:Label>
        </td>
        <td style="width: 380px">
            <asp:DropDownList ID="ddlSupplier" runat="server" Height="22px" Width="128px">
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                ControlToValidate="ddlSupplier" ErrorMessage="RequiredFieldValidator" 
                InitialValue="--请选择--">请选择一个供应商</asp:RequiredFieldValidator>
        </td>
        <td style="width: 10px">
            &nbsp;</td>
    </tr>
     <tr>
         <td class="style5" style="width: 10px">
             &nbsp;</td>
         <td class="style4" style="width: 250px">
             &nbsp;</td>
         <td class="style4" style="width: 150px">
             <asp:Label ID="Label17" runat="server" Text="附件信息"></asp:Label>
         </td>
         <td style="width: 380px">
             <cc1:ZLTextBox ID="txtAccessory" runat="server" TextMode="MultiLine" Width="270px"/>
         </td>
         <td style="width: 10px">
             &nbsp;</td>
     </tr>
    <tr>
        <td class="style5" style="width: 10px">
            &nbsp;</td>
        <td class="style4" style="width: 250px">
            &nbsp;</td>
        <td class="style4" style="width: 150px">
            <%--<asp:Label ID="Label9" runat="server" Text="简介"></asp:Label>--%>
        </td>
        <td style="width: 380px">
            <%--<cc1:ZLTextBox ID="zlTxtBriefIntro" runat="server" TextMode="MultiLine" Width="270px"/>--%>
        </td>
        <td style="width: 10px">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style5" style="width: 10px">
            &nbsp;</td>
        <td class="style4" style="width: 250px">
            &nbsp;</td>
        <td colspan="2" style="width:380px">
<%--            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
            <asp:Button ID="btnAddBasic" runat="server" Height="25px" onclick="btnAddBasic_Click" 
                Text="保存" />
            <asp:Button ID="btnEditPrdtBasic" runat="server" Text="修改" 
                onclick="btnEditPrdtBasic_Click" />
            </ContentTemplate>
            <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnAddBasic" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="btnEditPrdtBasic" EventName="Click" />
            </Triggers>
            </asp:UpdatePanel>--%>
        </td>
        <td style="width: 10px">
            &nbsp;</td>
    </tr>
</table>     
    <table border="0" cellpadding="0" cellspacing="0" class="style1">
    <tr style="background-color:Gray">
        <td style="width: 10px">
            &nbsp;</td>
        <td>
            <asp:Label ID="btnPrdtSpec" runat="server">商品定制信息:</asp:Label>
        </td>
        <td>
        </td>
        <td class="style3" style="width: 10px">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="width: 10px">
            &nbsp;</td>
        <td>
<%--        <div id="divFtb" style="display:none">--%>
        <frr:FreeTextBox ID="FreeTextBox2" runat="server" AllowHtmlMode="False" AssemblyResourceHandlerPath=""
       AutoConfigure="" AutoGenerateToolbarsFromString="True" AutoHideToolbar="True"
            AutoParseStyles="True" BackColor="158, 190, 245" BaseUrl="" BreakMode="Paragraph"
            ButtonDownImage="False" ButtonFileExtention="gif" ButtonFolder="Images" ButtonHeight="20"
            ButtonImagesLocation="InternalResource" ButtonOverImage="False" ButtonPath=""
            ButtonSet="Office2003" ButtonWidth="21" ClientSideTextChanged="" ConvertHtmlSymbolsToHtmlCodes="False"
            DesignModeBodyTagCssClass="" DesignModeCss="" DisableIEBackButton="False" DownLevelCols="50"
            DownLevelMessage="" DownLevelMode="TextArea" DownLevelRows="10" EditorBorderColorDark="128, 128, 128"
            EditorBorderColorLight="128, 128, 128" EnableHtmlMode="True" EnableSsl="False"
            EnableToolbars="True" Focus="False" FormatHtmlTagsToXhtml="True" GutterBackColor="129, 169, 226"
            GutterBorderColorDark="128, 128, 128" GutterBorderColorLight="255, 255, 255"
            Height="500px" HelperFilesParameters="" HelperFilesPath="" HtmlModeCss="" HtmlModeDefaultsToMonoSpaceFont="True"
            ImageGalleryPath="~/images/" ImageGalleryUrl="ftb.imagegallery.aspx?rif={0}&cif={0}"
            InstallationErrorMessage="InlineMessage" JavaScriptLocation="InternalResource"
            Language="en-US" PasteMode="Default" ReadOnly="False" RemoveScriptNameFromBookmarks="True"
            RemoveServerNameFromUrls="True" RenderMode="NotSet" ScriptMode="External" ShowTagPath="False"
            SslUrl="/." StartMode="DesignMode" StripAllScripting="False" SupportFolder="/aspnet_client/FreeTextBox/"
            TabIndex="-1" TabMode="InsertSpaces"  TextDirection="LeftToRight"
            ToolbarBackColor="Transparent" ToolbarBackgroundImage="True" ToolbarImagesLocation="InternalResource"
            ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print"
            ToolbarStyleConfiguration="NotSet" UpdateToolbar="True" UseToolbarBackGroundImage="True"
            Width="780px" >                       
        </frr:FreeTextBox>
<%--        </div>--%>
        </td>
        <td class="style3" style="width: 10px">
            &nbsp;</td>
    </tr>
    <tr>
        <td style="width: 10px">
            &nbsp;</td>
        <td colspan="2" style="width:780px">
<%--            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>--%>
            <asp:Button ID="btnAddBasic" runat="server" Height="25px" onclick="btnAddBasic_Click" 
                Text="保存" Width="100px" />
            <asp:Button ID="btnEditPrdtBasic" runat="server" Text="修改" 
                onclick="btnEditPrdtBasic_Click" Width="100px" />
<%--            </ContentTemplate>
            <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnAddBasic" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="btnEditPrdtBasic" EventName="Click" />
            </Triggers>
            </asp:UpdatePanel>--%>
        </td>
        <td style="width: 10px">
            &nbsp;</td>
    </tr>
    </table>
    <%--    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>--%>
        <table cellpadding="0" cellspacing="0" class="style1" style="width: 800px" 
            border="0">
            <tr style="background-color:Gray">
                <td style="width: 10px">
                    &nbsp;</td>
                <td style="width: 780px">
                    <asp:Label ID="btnAddPrdtDetail" runat="server">商品详细属性</asp:Label>
                </td>
                <td style="width: 10px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 10px">
                    &nbsp;</td>
                <td style="width: 780px">
                    <%--<div ID="dv" runat="server">--%>
                        <asp:Table ID="tbPrdtDetail" runat="server" BorderWidth="0px" CellPadding="0" 
                            CellSpacing="0">
                        </asp:Table>
                        <asp:Button ID="btnAddDetail" runat="server" onclick="btnAddDetail_Click" 
                            Text="保存" Height="26px" Width="100px" />
                        <asp:Button ID="btnEditPrdtDetail" runat="server" Text="修改" 
                            onclick="btnEditPrdtDetail_Click" Width="100px" />
                    <%--</div>--%>
                </td>
                <td style="width: 10px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="width: 10px">
                    &nbsp;</td>
                <td>
          
                </td>
                <td style="width: 10px">
                    &nbsp;</td>
            </tr>
        </table>
<%--        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ddlType" 
                EventName="SelectedIndexChanged" />
        </Triggers>
    </asp:UpdatePanel>--%>
    <table border="0" cellpadding="0" cellspacing="0" class="style1">
        <tr style="background-color:Gray">
            <td style="width: 10px">
                &nbsp;</td>
            <td style="width: 780px">
            <asp:LinkButton ID="btnUploadPics" OnClientClick="uploadMorePics()" runat="server">上传更多图片</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td style="width: 10px">
                &nbsp;</td>
            <td>
            <div id="divPics" style="display:none">
        <%--    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>--%>
            <span>
                <input id="hidPrdt" type="hidden" runat="server" />
                <input id="hidPrdtType" type="hidden" runat="server" />
                <asp:Label ID="lblPrdtName" runat="server" Text="商品名称"></asp:Label>
                <input id="Button1" type="button" value="上传更多" onclick="setMore()" />
            </span>
            <table>
            <tr><td style="width: 400px">
            <div id="pic1" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;" />
            </td>
            <td style="width: 400px">
            <asp:FileUpload ID="FileUpload2" runat="server" Height="26px" onchange="setImage(this,1)" />
        <%--        <asp:Button ID="Button2" runat="server" Height="26px" onclick="btnUpload_Click" Text="上传" Width="68px" />--%>
            </td></tr>
                <tr><td style="width: 400px">
            <div id="pic2" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload3" runat="server" Height="26px" onchange="setImage(this,2)" />
            <%--<asp:Button ID="Button3" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
                </td></tr>
                   <tr><td style="width: 400px">
            <div id="pic3" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload4" runat="server" Height="26px" onchange="setImage(this,3)" />
            <%--<asp:Button ID="Button4" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
             </td></tr>
             <tr><td style="width: 400px">
            <div id="pic4" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload5" runat="server" Height="26px" onchange="setImage(this,4)" />
            <%--<asp:Button ID="Button5" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
             </td></tr>
             <tr><td style="width: 400px">
            <div id="pic5" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload6" runat="server" Height="26px" onchange="setImage(this,5)" />
            <%--<asp:Button ID="Button6" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
             </td></tr>
            </table>
            <div id="divMore" style="display:none">
            <table id="tbMore">
            <tr><td style="width: 400px">
            <div id="pic6" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;" />
            </td>
            <td style="width: 400px">
            <asp:FileUpload ID="FileUpload7" runat="server" Height="26px" onchange="setImage(this,6)" />
                <%--<asp:Button ID="Button7" runat="server" Height="26px" onclick="btnUpload_Click" Text="上传" Width="68px" />--%>
            </td></tr>
                <tr><td style="width: 400px">
            <div id="pic7" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload8" runat="server" Height="26px" onchange="setImage(this,7)" />
            <%--<asp:Button ID="Button8" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
                </td></tr>
                   <tr><td style="width: 400px">
            <div id="pic8" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload9" runat="server" Height="26px" onchange="setImage(this,8)" />
            <%--<asp:Button ID="Button9" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
             </td></tr>
             <tr><td style="width: 400px">
            <div id="pic9" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload10" runat="server" Height="26px" onchange="setImage(this,9)" />
            <%--<asp:Button ID="Button10" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" />--%>
             </td></tr>
             <tr><td style="width: 400px">
            <div id="pic10" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);width:400px;height:200px;"/>
            </td>
            <td>
            <asp:FileUpload ID="FileUpload11" runat="server" Height="26px" onchange="setImage(this,10)" />
             </td></tr>
            </table>
            </div>
            <p style="text-align:center">
            <asp:Button ID="btnUpload" runat="server" Text="上传" Height="26px" onclick="btnUpload_Click" Width="68px" /></p>
            </div>
            </td>
        </tr>
        <tr>
            <td style="width: 10px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 10px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    <script type="text/javascript">
    function setMore()
    {
        var divMore=document.getElementById("divMore");
        divMore.style.display="block";
    }
    function setImage(imgFile,num)
    {
        document.getElementById("pic"+num).filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;
    }
    function setImageMain(imgFile)
    {
    //    document.getElementById("ctl00_ContentPlaceHolder1_imgPrdt").style.visibility="hidden";//.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;
        document.getElementById("ctl00_ContentPlaceHolder1_pic").style.display="block";
        document.getElementById("ctl00_ContentPlaceHolder1_imgPrdt").style.display="none";
        document.getElementById("ctl00_ContentPlaceHolder1_pic").filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;
    }
    function uploadMorePics()
    {
        var divPics=document.getElementById("divPics");
        divPics.style.display="block";
        event.returnValue=false;
    }
    function uploadMorePics1()
    {
        var divMore=document.getElementById("divMore");
        divMore.style.display="block";
    }
    function setPrdtSpec()
    {
        var divFtb=document.getElementById("divFtb");
        divFtb.style.display="block";
    }
    </script>
</asp:Content>
